package com.cn.jiyun.service.impl;

import com.cn.jiyun.ItemsFeign;
import com.cn.jiyun.entity.pojo.Items;
import com.cn.jiyun.service.ItemsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ItemsServiceImpl implements ItemsService {

    @Autowired
    ItemsFeign itemsFeign;

    @Override
    public List<Items> findPall() {
        return itemsFeign.findPall().getData();
    }
}
